home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (3rd Edition) / The Business Master (3rd Edition).iso / files / busition / propmana / install.bat < prev    next >
DOS Batch File  |  1992-12-18  |  2KB  |  80 lines

  1. Echo off
  2. IF NOT EXIST INPUT.COM GOTO WRONGDR
  3. CLS
  4. IF %1==F GOTO FLOPINS
  5. IF %1==H GOTO HARDINS1
  6. CLS
  7. :HARDINS1
  8. CLS
  9. echo  
  10. ECHO  This procedure will install all files onto your hard disk, drive %2
  11. ECHO  and will create a subdirectory, \PROPERTY.ACS.
  12. echo  
  13. %2:
  14. CD \
  15. MKDIR PROPERTY.ACS
  16. CD PROPERTY.ACS
  17. COPY %3ECOH.COM >TMP
  18. COPY %3YESNO.COM >TMP
  19. COPY %3PROP-X50.EXE >TMP
  20. PROP-X50
  21. DEL PROP-X50.EXE 
  22. DEL AUTOFLOP.BAT
  23. CLS
  24. echo  
  25. ECOH ══════════    Tutorial for program    ══════════
  26. echo  
  27. ECHO  PROGRAM.DOC is the short tutorial.
  28. ECHO  Would you like to print it out now?
  29. echo  
  30. :YESNO
  31. YESNO
  32. CLS
  33. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YESNEXT
  34. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO YES1
  35. GOTO YESNO
  36. :YESNEXT
  37. CLS
  38. ECHO Please make sure your printer is now turned on and set
  39. ECHO to the 'top of form'. Then press any key to continue.
  40. echo  
  41. PAUSE
  42. CLS
  43. echo  
  44. echo  
  45. ECOH ══════════ Now printing tutorial ══════════
  46. COPY PROGRAM.DOC LPT1: >TMP
  47. CLS
  48. GOTO YES1
  49. :YES1
  50. CLS
  51. echo  
  52. echo  
  53. echo  
  54. ECOH ══════════ Free memory available for program ══════════
  55. echo  
  56. ECHO The program must have 500 kb free memory. Observe the next 
  57. ECHO 'bytes are free.' message below.  If below 500k, then
  58. ECHO enter a 'CONTROL-C' now to stop and remove any memory resident
  59. ECHO programs.  Otherwise enter any other key to continue.
  60. echo  
  61. echo  
  62. MEMORY
  63. echo  
  64. echo  
  65. PAUSE
  66. CLS
  67. GO
  68. GOTO END
  69. :WRONGDR
  70. CLS
  71. echo  
  72. echo  
  73. ECHO Though nothing could be simpler than this install procedure, it does   
  74. echo require that you enter the drive name, such as 'A:' or 'B:', followed
  75. echo by the 'Enter' key.  After that, please enter 'GO' again.
  76. echo  
  77. GOTO END
  78. :END
  79. echo  
  80.